package zoo.gwt.client;

import com.google.gwt.user.client.ui.RootPanel;

public class Header {

	Zoologico zoo;
	
	public Header(Zoologico zoo) {
		this.zoo = zoo;
	}
	
	public void montarHeader() {

		RootPanel.get("painel-atributos").getElement().setInnerHTML(
				"<div class=\"atributo-nome\" >" + "Zoológico: " + "</div>"
						+ "<div class=\"atributo-valor\" >" + zoo.getZooName()
						+ "</div>" + "<div class=\"atributo-nome\" >"
						+ "Créditos: " + "</div>"
						+ "<div class=\"atributo-valor\" >" + "100" + "</div>");
	}

}
